<!--
 * @Date: 2023-03-06 13:42:55
 * @LastEditTime: 2023-03-17 13:14:57
 * @FilePath: /hua-fei-chong-zhi/src/components/common/CcopyText/CcopyText.vue
 * 介绍:
-->
<script lang="ts" setup>
import { copyText } from "@@/utils/tools/project";
import { _require } from "@@/utils/tools/tools";
const props = defineProps<{
  copyText?: string;
}>();
</script>

<template>
  <div @click="copyText(props.copyText || '')" class="CcopyText">
    <slot></slot>
    <Ricon class="ML-xs" rName="icon-fuzhi"> </Ricon>
  </div>
</template>

<style lang="less" scoped>
.CcopyText {
  word-break: break-all;
}
</style>
